<?php

            $url = 'https://1680660.com/smallSix/findSmallSixInfo.do';
             $ch = curl_init($url);
             curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
             $response = curl_exec($ch);
            $ma = json_decode($response, true);
            $m = explode(',', $ma['result']['data']['preDrawCode']);
            if($m[6]>=1){$preDrawCode=$ma['result']['data']['preDrawCode'];
            $preDrawTime=$ma['result']['data']['preDrawTime'];
            $drawIssue=$ma['result']['data']['drawIssue'];
             $serverTime=date("Y-m-d H:i:s");
            $preDrawIssue=$ma['result']['data']['preDrawIssue'];
			$drawTime=$ma['result']['data']['drawTime'];}
//echo '香港第'.$preDrawIssue.'期开奖结果为:'.$preDrawCode.'开奖时间为'.$preDrawTime;

			?>
		
			{"errorCode":0,"message":"操作成功","result":{"businessCode":0,"message":"操作成功","data":{"preDrawIssue":<?=$preDrawIssue?>,"drawIssue":<?=$drawIssue?>,"preDrawTime":"<?=$preDrawTime?>","drawTime":"<?=$drawTime?>","preDrawCode":"<?=$preDrawCode?>","chineseZodiac":[4,3,5,5,2,2,11],"fiveElements":[5,4,5,4,4,5,2],"color":[3,2,2,1,2,3,1],"serverTime":"<?=$serverTime?>","type":8,"sumTotal":142,"lotCode":10048}}}